package junit.panda;

import java.util.HashMap;
import java.util.Map;

import junit.framework.TestCase;

public class TestCasesManager {
	private static Map<String, TestCase> testCases = new HashMap<String, TestCase>();

	public static TestCase get(String name) {
		return testCases.get(name).clone();
	}

	public static TestCase getProtptype(String name) {
		return testCases.get(name);
	}

	public static void put(String name, TestCase testCase) {
		testCases.put(name, testCase);
	}
}
